
package com.zuipin.entity;

import java.io.Serializable;

import com.zuipin.enums.IntegralType;

import io.swagger.annotations.ApiModelProperty;

/**
 * 积分记录表
 * 
 * @ClassName: IntegralRecord
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
public class IntegralRecord implements Serializable {
	
	private static final long	serialVersionUID	= 1L;
	
	private Long				id;							//
	
	private Short				delFlag;					// 删除标志:1是删除，0是未删除
	
	private Long				createId;					// 创建者
	
	private String				createTime;					// 创建者时间
	
	private Long				updateId;					// 更新者
	
	private String				updateTime;					// 更新时间
	
	private Long				memberId;					// 会员ID
	
	private Long				sysId;						// 系统ID
	
	private Integer				beforePoint;				// 修改前积分
	
	private Integer				afterPoint;					// 修改后积分
	
	private Integer				alterPoint;					// 修改的积分
	
	private IntegralType		integralType;				// 类型：会员注册送积分 会员签到 购物赠送积分 购物积分抵扣 回收赠送积分 其他
	
	private String				remark;						// 备注
	
	private Integer				searchTime;					// 搜索时间的条件 1为近三个月 2为近一年
	
	private String				describes;					// 描述
	
	private String				oddNumbers;					// 单号编号
	
	private Long				orderId;					// 订单ID
	
	private String				updateName;					// 操作人
	
	public final static Integer	MIN_VALUE			= 0;
	public final static short	IS_BUY_YES			= 1;	// 是购买
	public final static short	IS_BUY_NO			= 0;	// 不是购买
	
	@ApiModelProperty(value = "订单ID")
	public Long getOrderId() {
		return orderId;
	}
	
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	public Integer getSearchTime() {
		return searchTime;
	}
	
	public void setSearchTime(Integer searchTime) {
		this.searchTime = searchTime;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "日期")
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	public Long getMemberId() {
		return this.memberId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setBeforePoint(Integer beforePoint) {
		this.beforePoint = beforePoint;
	}
	
	public Integer getBeforePoint() {
		return this.beforePoint;
	}
	
	public void setAfterPoint(Integer afterPoint) {
		this.afterPoint = afterPoint;
	}
	
	public Integer getAfterPoint() {
		return this.afterPoint;
	}
	
	public void setAlterPoint(Integer alterPoint) {
		this.alterPoint = alterPoint;
	}
	
	@ApiModelProperty(value = "变动积分")
	public Integer getAlterPoint() {
		return this.alterPoint;
	}
	
	public void setIntegralType(IntegralType integralType) {
		this.integralType = integralType;
	}
	
	public IntegralType getIntegralType() {
		return this.integralType;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@ApiModelProperty(value = "备注")
	public String getRemark() {
		return this.remark;
	}
	
	@ApiModelProperty(value = "备注详情")
	public String getDescribes() {
		return describes;
	}
	
	public void setDescribes(String describes) {
		this.describes = describes;
	}
	
	@ApiModelProperty(value = "备注单号信息")
	public String getOddNumbers() {
		return oddNumbers;
	}
	
	public void setOddNumbers(String oddNumbers) {
		this.oddNumbers = oddNumbers;
	}
	
	@ApiModelProperty(value = "操作人")
	public String getUpdateName() {
		return updateName;
	}
	
	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}
	
}
